package simulationClasses;

import java.awt.BorderLayout;
import java.awt.CardLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import cpuSched.CPUMainPanel;
import Main.FileReader;
//class lng sia pnghold ng Tabs
public class CPUMain extends JPanel{
	
	public CPUMain(JPanel parent, CardLayout cards,FileReader fr){
		this.setLayout(new BorderLayout());
		JTabbedPane tb = new JTabbedPane();
		tb.addTab("Home", new CPUMainPanel(parent, cards, fr));
		tb.addTab("Tables", new JPanel());
		this.add(tb, BorderLayout.CENTER);
		
	}
}
